package org.github.manx98.jlibhac.ns;

import org.github.manx98.jlibhac.fssystem.NcaContentType;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/5 15:24
 */
public enum AddOnContentRegistrationTypeValue {
    AllOnLaunch,
    OnDemand;

    public static AddOnContentRegistrationTypeValue valueOf(byte value) {
        for (AddOnContentRegistrationTypeValue t : values()) {
            if (t.ordinal() == value) {
                return t;
            }
        }
        throw new IllegalArgumentException("Unknown AddOnContentRegistrationTypeValue: " + value);
    }
}
